package com.zking.ssm.sys.service;

import com.zking.ssm.sys.model.HotelRecharge;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IHotelRechargeService {

    int deleteByPrimaryKey(Long id);

    int insert(HotelRecharge record);

    int insertSelective(HotelRecharge record);

    @Transactional(readOnly = true)
    HotelRecharge selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HotelRecharge record);

    int updateByPrimaryKey(HotelRecharge record);

    @Transactional(readOnly = true)
    List<HotelRecharge> list(HotelRecharge hotelRecharge, PageBean pageBean);


}
